package org.jeecg.modules.demo.shareholderrecord.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.shareholderrecord.entity.ShareholderInfo;
import org.jeecg.modules.demo.shareholderrecord.entity.ShareholderRecord;

import java.util.List;

/**
 * @Description: 创造股东分红记录
 * @Author: jeecg-boot
 * @Date: 2022-01-14
 * @Version: V1.0
 */
public interface ShareholderRecordMapper extends BaseMapper<ShareholderRecord> {
    /**
     * 根据会员id查询分红记录
     *
     * @param storeId
     * @param memberId
     * @return
     */
    List<ShareholderInfo> getShareholderListByMemberId(@Param("pageNo") Integer pageNo, @Param("pageSize") Integer pageSize, @Param("storeId") String storeId, @Param("memberId") String memberId);

}
